/*
 * Copyright (c) 2009. Silenus Consultoria, S.L.
 */
package es.silenus.detecta.model;

/**
 * Report format.
 *
 * @author <a href="mailto:malonso@silenus-consultoria.es">Mariano Alonso</a>
 * @since 21-may-2009 17:23:54
 */
public enum ReportFormat {
/**
   * PDF.
   */
	PDF(".pdf"), 
/**
   * Excel.
   */
	EXCEL(".xls"), 
/**
   * HTML.
   */
	HTML(".html");
	/**
	 * The extension.
	 */
	private final String extension;

/**
   * Constructor.
   *
   * @param extension the extension.
   */
	ReportFormat(final String extension) {
		this.extension = extension;
	}

	/**
	 * Retrieves the extension.
	 *
	 * @return the extension.
	 */
	public final String getExtension() {
		return extension;
	}
}
